import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant';

import 'vant/lib/index.css';
import { Tabbar, TabbarItem }  from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { Icon } from 'vant';
import { NoticeBar } from 'vant';
import { ShareSheet, } from 'vant';
import { Dialog } from 'vant';
import { CountDown } from 'vant';
//商品规格
import { Sku } from 'vant';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
Vue.use(Sku);
Vue.use(CountDown);

Vue.use(Dialog);
Vue.use(ShareSheet);
Vue.use(NoticeBar);

Vue.use(Vant);
Vue.use(Icon);

Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Area);
Vue.use(Popup);

//vant的弹出层
import { Popup } from 'vant';

//地址编辑
import { Area } from 'vant';


require("./mock")

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
